<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title></title>
<%@ include file="/WEB-INF/views/include/easyui.jsp"%>

</head>
<body>
<div>
	<form id="mainform" action="${ctx}/user/approve" method="post">
	<table  class="formTable">
		<tr>
			<td width="35%" align="right">姓名：</td>
			<td width="65%">
				<input type="hidden" name="id" value="${userInfo.id }" />
				<input readonly id="userName" name="userName" type="text" value="${userInfo.userName }" class="easyui-validatebox"  data-options="width: 160" validType="length[0,10]"/>
			</td>
		</tr>
		<tr>
			<td align="right">公司名称：</td>
			<td>
				<input readonly id="company" name="company" type="text" value="${userInfo.company }" class="easyui-validatebox"  data-options="width: 160" validType="length[0,50]"/>
			</td>
		</tr>
		<tr>
			<td align="right">职位：</td>
			<td>
				<input readonly id="postLevel" name="postLevel" type="text" value="${userInfo.postLevel }" class="easyui-validatebox"  data-options="width: 160" validType="length[0,20]"/>
			</td>
		</tr>
		<tr>
			<td align="right">工作年限：</td>
			<td>
				<input readonly id="workYear" name="workYear" type="text" value="${userInfo.workYear }" class="easyui-validatebox"  data-options="width: 160" validType="length[0,3]"/> 年
			</td>
		</tr>
		<tr>
			<td align="right">客户人数：</td>
			<td>
				<input readonly id="customerNum" name="customerNum" type="text" value="${userInfo.customerNum }" class="easyui-validatebox"  data-options="width: 160" validType="length[0,10]"/> 人
			</td>
		</tr>
		<tr>
			<td align="right">资产管理规模：</td>
			<td>
				<input readonly id="assetSize" name="assetSize" type="text" value="${userInfo.assetSize }" class="easyui-validatebox"  data-options="width: 160" validType="length[0,10]"/> 万元
			</td>
		</tr>
		<tr>
			<td align="right">帮客户增值的资产：</td>
			<td>
				<input readonly id="userDept" name="userDept" type="text" value="${userInfo.gainInCome }" class="easyui-validatebox"  data-options="width: 160" validType="length[0,10]"/> 万元
			</td>
		</tr>
	</table>
	</form>
</div>
<script type="text/javascript">
$(function(){
	  $('#mainform').form({ 
		
	    onSubmit: function(){    
	    	var isValid = $(this).form('validate');
			return isValid;	// 返回false终止表单提交
	    },    
	    success:function(data){ 
	    	successTip(data,dg,d);
	    }    
	});  
});

</script>
</body>
</html>